package game.coord;


// cell with 8 neighbors
public abstract class MooreCell
{
    // neighbors
    private MooreCell topLeft;
    private MooreCell top;
    private MooreCell topRight;
    private MooreCell left;
    // this
    private MooreCell right;
    private MooreCell bottomLeft;
    private MooreCell bottom;
    private MooreCell bottomRight;
    
    public MooreCell getTopLeft()
    {
        return topLeft;
    }

    public void setTopLeft(MooreCell topLeft)
    {
        this.topLeft = topLeft;
    }

    public MooreCell getTop()
    {
        return top;
    }

    public void setTop(MooreCell top)
    {
        this.top = top;
    }

    public MooreCell getTopRight()
    {
        return topRight;
    }

    public void setTopRight(MooreCell topRight)
    {
        this.topRight = topRight;
    }

    public MooreCell getLeft()
    {
        return left;
    }

    public void setLeft(MooreCell left)
    {
        this.left = left;
    }

    public MooreCell getRight()
    {
        return right;
    }

    public void setRight(MooreCell right)
    {
        this.right = right;
    }

    public MooreCell getBottomLeft()
    {
        return bottomLeft;
    }

    public void setBottomLeft(MooreCell bottomLeft)
    {
        this.bottomLeft = bottomLeft;
    }

    public MooreCell getBottom()
    {
        return bottom;
    }

    public void setBottom(MooreCell bottom)
    {
        this.bottom = bottom;
    }

    public MooreCell getBottomRight()
    {
        return bottomRight;
    }

    public void setBottomRight(MooreCell bottomRight)
    {
        this.bottomRight = bottomRight;
    }
}
